package mission;

import java.io.Serializable;


public class Mission implements Serializable {
	
	public Mission(String name, MissionStep starter, MissionStep finish) {
		super();
		this.name = name;
		this.starter = starter;
		this.finish = finish;
		current = null;
	}
	
	public String getName() {
		return name;
	}
	
	public MissionStep getStarter() {
		return starter;
	}
	
	public MissionStep getFinish() {
		return finish;
	}
	
	public MissionStep getCurrentMissionStep(){
    	return current;
    }
	
	public void setCurrentMissionStep(MissionStep step){
    	this.current = step;
    }
	
	public boolean isFinished(){
		return current.equals(finish);
	}

	private String name;
	private MissionStep starter;
	private MissionStep finish;
	private MissionStep current;
	//private Reward r;
	private static final long serialVersionUID = 3140518082563134020L;
}
